﻿using DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
     public interface IJobService:IServiceSupport
    {
        List<JobDTO> GetList();

        /// <summary>
        /// 分页
        /// </summary>
        /// <param name="offset">页码</param>
        /// <param name="limit">每页显示的数据量</param>
        /// <param name="rowCount">总数量</param>
        /// <returns></returns>
        //List<JobDTO> GetPigeSelect(int offset,int limit,ref int rowCount);
        //List<JobDTO> ShowJobPageList(int offset, int limit, string sort, string order, string name,string code, ref int rowCount);

        JobDTO JobQueryId(string Id);
        bool Add(JobDTO entity);
        bool Update(JobDTO entity);
        bool Del(JobDTO entity);
        List<JobDTO> ShowJobPageList(int offset, int limit, string name, string code, ref int rowCount, string sort, string order);
    }
}
